<!DOCTYPE html>
<html lang="en-us">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    
<meta charset="UTF-8">
<title>映射 | Elasticsearch: 权威指南 | Elastic</title>
<link rel="home" href="index.html" title="Elasticsearch: 权威指南">
<link rel="up" href="mapping-analysis.html" title="映射和分析">
<link rel="prev" href="analysis-intro.html" title="分析与分析器">
<link rel="next" href="complex-core-fields.html" title="复杂核心域类型">
<meta name="DC.type" content="Learn/Docs/Elasticsearch/Definitive Guide">
<meta name="DC.subject" content="Elasticsearch">
<meta name="DC.identifier" content="2.x">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.optimizely.com/js/18132920325.js"></script>
    <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
    <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
    <link rel="manifest" href="/manifest.json">
    <meta name="apple-mobile-web-app-title" content="Elastic">
    <meta name="application-name" content="Elastic">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png">
    <meta name="theme-color" content="#ffffff">
    <meta name="naver-site-verification" content="936882c1853b701b3cef3721758d80535413dbfd">
    <meta name="yandex-verification" content="d8a47e95d0972434">
    <meta name="localized" content="true">
    <meta name="st:robots" content="follow,index">
    <meta property="og:image" content="https://www.elastic.co/static/images/elastic-logo-200.png">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <link rel="icon" href="/favicon.ico" type="image/x-icon">
    <link rel="apple-touch-icon-precomposed" sizes="64x64" href="/favicon_64x64_16bit.png">
    <link rel="apple-touch-icon-precomposed" sizes="32x32" href="/favicon_32x32.png">
    <link rel="apple-touch-icon-precomposed" sizes="16x16" href="/favicon_16x16.png">
    <!-- Give IE8 a fighting chance -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="/guide/static/styles.css">
  </head>

  <!--© 2015-2021 Elasticsearch B.V. Copying, publishing and/or distributing without written permission is strictly prohibited.-->

  <body>
    <!-- Google Tag Manager -->
    <script>dataLayer = [];</script><noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-58RLH5" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-58RLH5');</script>
    <!-- End Google Tag Manager -->

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12395217-16"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-12395217-16');
    </script>

    <!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
    <script type="text/javascript">
      (function(){var g=function(e,h,f,g){
      this.get=function(a){for(var a=a+"=",c=document.cookie.split(";"),b=0,e=c.length;b<e;b++){for(var d=c[b];" "==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};
      this.set=function(a,c){var b="",b=new Date;b.setTime(b.getTime()+6048E5);b="; expires="+b.toGMTString();document.cookie=a+"="+c+b+"; path=/; "};
      this.check=function(){var a=this.get(f);if(a)a=a.split(":");else if(100!=e)"v"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(":"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case "v":return!1;case "r":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(":")),!c}return!0};
      this.go=function(){if(this.check()){var a=document.createElement("script");a.type="text/javascript";a.src=g;document.body&&document.body.appendChild(a)}};
      this.start=function(){var a=this;window.addEventListener?window.addEventListener("load",function(){a.go()},!1):window.attachEvent&&window.attachEvent("onload",function(){a.go()})}};
      try{(new g(100,"r","QSI_S_ZN_emkP0oSe9Qrn7kF","https://znemkp0ose9qrn7kf-elastic.siteintercept.qualtrics.com/WRSiteInterceptEngine/?Q_ZID=ZN_emkP0oSe9Qrn7kF")).start()}catch(i){}})();
    </script><div id="ZN_emkP0oSe9Qrn7kF"><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
    <!--END WEBSITE FEEDBACK SNIPPET-->

    <div id="elastic-nav" style="display:none;"></div>
    <script src="https://www.elastic.co/elastic-nav.js"></script>

    <!-- Subnav -->
    <div>
      <div>
        <div class="tertiary-nav d-none d-md-block">
          <div class="container">
            <div class="p-t-b-15 d-flex justify-content-between nav-container">
              <div class="breadcrum-wrapper"><span><a href="/guide/" style="font-size: 14px; font-weight: 600; color: #000;">Docs</a></span></div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="main-container">
      <section id="content">
        <div class="content-wrapper">

          <section id="guide" lang="zh_cn">
            <div class="container">
              <div class="row">
                <div class="col-xs-12 col-sm-8 col-md-8 guide-section">
                  <!-- start body -->
                  <div class="page_header">
<b>请注意:</b><br>本书基于 Elasticsearch 2.x 版本，有些内容可能已经过时。
</div>
<div id="content">
<div class="breadcrumbs">
<span class="breadcrumb-link"><a href="index.html">Elasticsearch: 权威指南</a></span>
»
<span class="breadcrumb-link"><a href="getting-started.html">基础入门</a></span>
»
<span class="breadcrumb-link"><a href="mapping-analysis.html">映射和分析</a></span>
»
<span class="breadcrumb-node">映射</span>
</div>
<div class="navheader">
<span class="prev">
<a href="analysis-intro.html">« 分析与分析器</a>
</span>
<span class="next">
<a href="complex-core-fields.html">复杂核心域类型 »</a>
</span>
</div>
<div class="section">
<div class="titlepage"><div><div>
<h2 class="title">
<a id="mapping-intro"></a>映射<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h2>
</div></div></div>
<p>为了能够将时间域视为时间，数字域视为数字，字符串域视为全文或精确值字符串， Elasticsearch 需要知道每个域中数据的类型。这个信息包含在映射中。</p>
<p>如 <a class="xref" href="data-in-data-out.html" title="数据输入和输出"><em>数据输入和输出</em></a> 中解释的，索引中每个文档都有 <em>类型</em> 。每种类型都有它自己的 <em>映射</em> ，或者 <em>模式定义</em> 。映射定义了类型中的域，每个域的数据类型，以及Elasticsearch如何处理这些域。映射也用于配置与类型有关的元数据。</p>
<p>我们会在 <a class="xref" href="mapping.html" title="类型和映射">类型和映射</a> 详细讨论映射。本节，我们只讨论足够让你入门的内容。</p>
<div class="section">
<div class="titlepage"><div><div>
<h3 class="title">
<a id="core-fields"></a>核心简单域类型<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h3>
</div></div></div>
<p>Elasticsearch 支持如下简单域类型：</p>
<div class="ulist horizontal">
<ul class="horizontal">
<li class="listitem">
字符串: <code class="literal">string</code>
</li>
<li class="listitem">
整数 : <code class="literal">byte</code>, <code class="literal">short</code>, <code class="literal">integer</code>, <code class="literal">long</code>
</li>
<li class="listitem">
浮点数: <code class="literal">float</code>, <code class="literal">double</code>
</li>
<li class="listitem">
布尔型: <code class="literal">boolean</code>
</li>
<li class="listitem">
日期: <code class="literal">date</code>
</li>
</ul>
</div>
<p>当你索引一个包含新域的文档—​之前未曾出现-- Elasticsearch 会使用 <a class="xref" href="dynamic-mapping.html" title="动态映射"><em>动态映射</em></a> ，通过JSON中基本数据类型，尝试猜测域类型，使用如下规则：</p>
<div class="informaltable">
<table border="0" cellpadding="4px">
<colgroup>
<col>
<col>
</colgroup>
<tbody valign="top">
<tr>
<td valign="top">
<p>
<span class="strong strong"><strong>JSON type</strong></span>
</p>
</td>
<td valign="top">
<p>
<span class="strong strong"><strong>域 type</strong></span>
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
布尔型: <code class="literal">true</code> 或者 <code class="literal">false</code>
</p>
</td>
<td valign="top">
<p>
<code class="literal">boolean</code>
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
整数: <code class="literal">123</code>
</p>
</td>
<td valign="top">
<p>
<code class="literal">long</code>
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
浮点数: <code class="literal">123.45</code>
</p>
</td>
<td valign="top">
<p>
<code class="literal">double</code>
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
字符串，有效日期: <code class="literal">2014-09-15</code>
</p>
</td>
<td valign="top">
<p>
<code class="literal">date</code>
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
字符串: <code class="literal">foo bar</code>
</p>
</td>
<td valign="top">
<p>
<code class="literal">string</code>
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note admon">
<div class="icon"></div>
<div class="admon_content">
<p>这意味着如果你通过引号( <code class="literal">"123"</code> )索引一个数字，它会被映射为 <code class="literal">string</code> 类型，而不是 <code class="literal">long</code> 。但是，如果这个域已经映射为 <code class="literal">long</code> ，那么 Elasticsearch 会尝试将这个字符串转化为 long ，如果无法转化，则抛出一个异常。</p>
</div>
</div>
</div>

<div class="section">
<div class="titlepage"><div><div>
<h3 class="title">
<a id="_查看映射"></a>查看映射<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h3>
</div></div></div>
<p>通过 <code class="literal">/_mapping</code> ，我们可以查看 Elasticsearch 在一个或多个索引中的一个或多个类型的映射。在 <a class="xref" href="mapping-analysis.html" title="映射和分析">开始章节</a> ，我们已经取得索引 <code class="literal">gb</code> 中类型 <code class="literal">tweet</code> 的映射：</p>
<div class="pre_wrapper lang-js">
<pre class="programlisting prettyprint lang-js">GET /gb/_mapping/tweet</pre>
</div>
<p>Elasticsearch 根据我们索引的文档，为域(称为 <em>属性</em> )动态生成的映射。</p>
<div class="pre_wrapper lang-js">
<pre class="programlisting prettyprint lang-js">{
   "gb": {
      "mappings": {
         "tweet": {
            "properties": {
               "date": {
                  "type": "date",
                  "format": "strict_date_optional_time||epoch_millis"
               },
               "name": {
                  "type": "string"
               },
               "tweet": {
                  "type": "string"
               },
               "user_id": {
                  "type": "long"
               }
            }
         }
      }
   }
}</pre>
</div>
<div class="tip admon">
<div class="icon"></div>
<div class="admon_content">
<p>错误的映射，例如 将 <code class="literal">age</code> 域映射为 <code class="literal">string</code> 类型，而不是 <code class="literal">integer</code> ，会导致查询出现令人困惑的结果。</p>
<p>检查一下！而不是假设你的映射是正确的。</p>
</div>
</div>
</div>

<div class="section">
<div class="titlepage"><div><div>
<h3 class="title">
<a id="custom-field-mappings"></a>自定义域映射<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h3>
</div></div></div>
<p>尽管在很多情况下基本域数据类型已经够用，但你经常需要为单独域自定义映射，特别是字符串域。自定义映射允许你执行下面的操作：</p>
<div class="ulist itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
全文字符串域和精确值字符串域的区别
</li>
<li class="listitem">
使用特定语言分析器
</li>
<li class="listitem">
优化域以适应部分匹配
</li>
<li class="listitem">
指定自定义数据格式
</li>
<li class="listitem">
还有更多
</li>
</ul>
</div>
<p>域最重要的属性是 <code class="literal">type</code> 。对于不是 <code class="literal">string</code> 的域，你一般只需要设置 <code class="literal">type</code> ：</p>
<div class="pre_wrapper lang-js">
<pre class="programlisting prettyprint lang-js">{
    "number_of_clicks": {
        "type": "integer"
    }
}</pre>
</div>
<p>默认， <code class="literal">string</code> 类型域会被认为包含全文。就是说，它们的值在索引前，会通过一个分析器，针对于这个域的查询在搜索前也会经过一个分析器。</p>
<p><code class="literal">string</code> 域映射的两个最重要属性是 <code class="literal">index</code> 和 <code class="literal">analyzer</code> 。</p>
<div class="section">
<div class="titlepage"><div><div>
<h4 class="title">
<a id="_index_2"></a>index<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h4>
</div></div></div>
<p><code class="literal">index</code> 属性控制怎样索引字符串。它可以是下面三个值：</p>
<div class="variablelist">
<dl class="variablelist">
<dt>
<span class="term">
<code class="literal">analyzed</code>
</span>
</dt>
<dd>
首先分析字符串，然后索引它。换句话说，以全文索引这个域。
</dd>
<dt>
<span class="term">
<code class="literal">not_analyzed</code>
</span>
</dt>
<dd>
  索引这个域，所以它能够被搜索，但索引的是精确值。不会对它进行分析。
</dd>
<dt>
<span class="term">
<code class="literal">no</code>
</span>
</dt>
<dd>
不索引这个域。这个域不会被搜索到。
</dd>
</dl>
</div>
<p><code class="literal">string</code> 域 <code class="literal">index</code> 属性默认是 <code class="literal">analyzed</code> 。如果我们想映射这个字段为一个精确值，我们需要设置它为 <code class="literal">not_analyzed</code> ：</p>
<div class="pre_wrapper lang-js">
<pre class="programlisting prettyprint lang-js">{
    "tag": {
        "type":     "string",
        "index":    "not_analyzed"
    }
}</pre>
</div>
<div class="note admon">
<div class="icon"></div>
<div class="admon_content">
<p>其他简单类型（例如 <code class="literal">long</code> ， <code class="literal">double</code> ， <code class="literal">date</code> 等）也接受 <code class="literal">index</code> 参数，但有意义的值只有 <code class="literal">no</code> 和 <code class="literal">not_analyzed</code> ，
因为它们永远不会被分析。</p>
</div>
</div>
</div>

<div class="section">
<div class="titlepage"><div><div>
<h4 class="title">
<a id="_analyzer"></a>analyzer<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h4>
</div></div></div>
<p>对于 <code class="literal">analyzed</code> 字符串域，用 <code class="literal">analyzer</code> 属性指定在搜索和索引时使用的分析器。默认， Elasticsearch 使用 <code class="literal">standard</code> 分析器， 但你可以指定一个内置的分析器替代它，例如
<code class="literal">whitespace</code> 、 <code class="literal">simple</code> 和 <code class="literal">english</code>：</p>
<div class="pre_wrapper lang-js">
<pre class="programlisting prettyprint lang-js">{
    "tweet": {
        "type":     "string",
        "analyzer": "english"
    }
}</pre>
</div>
<p>在 <a class="xref" href="custom-analyzers.html" title="自定义分析器">自定义分析器</a> ，我们会展示怎样定义和使用自定义分析器。</p>
</div>

</div>

<div class="section">
<div class="titlepage"><div><div>
<h3 class="title">
<a id="updating-a-mapping"></a>更新映射<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h3>
</div></div></div>
<p>当你首次创建一个索引的时候，可以指定类型的映射。你也可以使用 <code class="literal">/_mapping</code> 为新类型（或者为存在的类型更新映射）增加映射。</p>
<div class="note admon">
<div class="icon"></div>
<div class="admon_content">
<p>尽管你可以 <em>增加</em> 一个存在的映射，你不能 <em>修改</em> 存在的域映射。如果一个域的映射已经存在，那么该域的数据可能已经被索引。如果你意图修改这个域的映射，索引的数据可能会出错，不能被正常的搜索。</p>
</div>
</div>
<p>我们可以更新一个映射来添加一个新域，但不能将一个存在的域从 <code class="literal">analyzed</code> 改为 <code class="literal">not_analyzed</code> 。</p>
<p>为了描述指定映射的两种方式，我们先删除 <code class="literal">gd</code> 索引：</p>
<div class="pre_wrapper lang-sense">
<pre class="programlisting prettyprint lang-sense">DELETE /gb</pre>
</div>
<div class="sense_widget" data-snippet="snippets/052_Mapping_Analysis/45_Mapping.json"></div>
<p>然后创建一个新索引，指定 <code class="literal">tweet</code> 域使用 <code class="literal">english</code> 分析器：</p>
<div class="pre_wrapper lang-sense">
<pre class="programlisting prettyprint lang-sense">PUT /gb <a id="CO19-1"></a><i class="conum" data-value="1"></i>
{
  "mappings": {
    "tweet" : {
      "properties" : {
        "tweet" : {
          "type" :    "string",
          "analyzer": "english"
        },
        "date" : {
          "type" :   "date"
        },
        "name" : {
          "type" :   "string"
        },
        "user_id" : {
          "type" :   "long"
        }
      }
    }
  }
}</pre>
</div>
<div class="sense_widget" data-snippet="snippets/052_Mapping_Analysis/45_Mapping.json"></div>
<div class="calloutlist">
<table border="0" summary="Callout list">
<tr>
<td align="left" valign="top" width="5%">
<p><a href="#CO19-1"><i class="conum" data-value="1"></i></a></p>
</td>
<td align="left" valign="top">
<p>通过消息体中指定的 <code class="literal">mappings</code> 创建了索引。</p>
</td>
</tr>
</table>
</div>
<p>稍后，我们决定在 <code class="literal">tweet</code> 映射增加一个新的名为 <code class="literal">tag</code> 的 <code class="literal">not_analyzed</code> 的文本域，使用 <code class="literal">_mapping</code> ：</p>
<div class="pre_wrapper lang-sense">
<pre class="programlisting prettyprint lang-sense">PUT /gb/_mapping/tweet
{
  "properties" : {
    "tag" : {
      "type" :    "string",
      "index":    "not_analyzed"
    }
  }
}</pre>
</div>
<div class="sense_widget" data-snippet="snippets/052_Mapping_Analysis/45_Mapping.json"></div>
<p>注意，我们不需要再次列出所有已存在的域，因为无论如何我们都无法改变它们。新域已经被合并到存在的映射中。</p>
</div>

<div class="section">
<div class="titlepage"><div><div>
<h3 class="title">
<a id="_测试映射"></a>测试映射<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/edit/cn/052_Mapping_Analysis/45_Mapping.asciidoc">edit</a>
</h3>
</div></div></div>
<p>你可以使用 <code class="literal">analyze</code> API  测试字符串域的映射。比较下面两个请求的输出：</p>
<div class="pre_wrapper lang-sense">
<pre class="programlisting prettyprint lang-sense">GET /gb/_analyze
{
  "field": "tweet",
  "text": "Black-cats" <a id="CO20-1"></a><i class="conum" data-value="1"></i>
}

GET /gb/_analyze
{
  "field": "tag",
  "text": "Black-cats" <a id="CO20-2"></a><i class="conum" data-value="1"></i>
}</pre>
</div>
<div class="sense_widget" data-snippet="snippets/052_Mapping_Analysis/45_Mapping.json"></div>
<div class="calloutlist">
<table border="0" summary="Callout list">
<tr>
<td align="left" valign="top" width="5%">
<p><a href="#CO20-1"><i class="conum" data-value="1"></i></a><a href="#CO20-2"></a></p>
</td>
<td align="left" valign="top">
<p>消息体里面传输我们想要分析的文本。</p>
</td>
</tr>
</table>
</div>
<p><code class="literal">tweet</code> 域产生两个词条 <code class="literal">black</code> 和 <code class="literal">cat</code> ， <code class="literal">tag</code> 域产生单独的词条 <code class="literal">Black-cats</code> 。换句话说，我们的映射正常工作。</p>
</div>

</div>
<div class="navfooter">
<span class="prev">
<a href="analysis-intro.html">« 分析与分析器</a>
</span>
<span class="next">
<a href="complex-core-fields.html">复杂核心域类型 »</a>
</span>
</div>
</div>

                  <!-- end body -->
                </div>
                <div class="col-xs-12 col-sm-4 col-md-4" id="right_col">
                  <div id="rtpcontainer" style="display: block;">
                    <div class="mktg-promo">
                      <h3>Most Popular</h3>
                      <ul class="icons">
                        <li class="icon-elasticsearch-white"><a href="https://www.elastic.co/webinars/getting-started-elasticsearch?baymax=default&amp;elektra=docs&amp;storm=top-video">Get Started with Elasticsearch: Video</a></li>
                        <li class="icon-kibana-white"><a href="https://www.elastic.co/webinars/getting-started-kibana?baymax=default&amp;elektra=docs&amp;storm=top-video">Intro to Kibana: Video</a></li>
                        <li class="icon-logstash-white"><a href="https://www.elastic.co/webinars/introduction-elk-stack?baymax=default&amp;elektra=docs&amp;storm=top-video">ELK for Logs &amp; Metrics: Video</a></li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </section>

        </div>


<div id="elastic-footer"></div>
<script src="https://www.elastic.co/elastic-footer.js"></script>
<!-- Footer Section end-->

      </section>
    </div>

<script src="/guide/static/jquery.js"></script>
<script type="text/javascript" src="/guide/static/docs.js"></script>
<script type="text/javascript">
  window.initial_state = {}</script>
  </body>
</html>
